<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui"
      xmlns:composite="http://xmlns.jcp.org/jsf/composite">

    <h:body>
        <composite:interface>
            <composite:attribute name="bean" required="true"/>
        </composite:interface>

        <composite:implementation>
            <ui:repeat class="inlineBlock verticalAlignTop" var="collectorRelocatingInfoAnd" value="#{cc.attrs.bean.search.searchRelocatingInfoRequerimentAndOperatorList}" rendered="#{cc.attrs.bean.search.searchRelocatingInfoRequerimentAndOperatorList!=null and !cc.attrs.bean.search.searchRelocatingInfoRequerimentAndOperatorList.isEmpty()}">
                <p:panel styleClass="noPaddingTitle noMargin noBorder inlineBlock verticalAlignTop searchFilterContainer">  
                    <div class="blueSlimBorderSearch panelFilterSearchMargin">
                        <p:panel styleClass="noPadding noMargin">
                            <div class="lightBlueBackground">
                                <div class="internalLeftColumnSearchFilter colorWhite inlineBlock verticalAlignTop">
                                    <h:outputText  value="#{messages.Type}"  />
                                </div>
                                <div class=" internalRightColumnSearchFilter inlineBlock verticalAlignTop">
                                    <h:outputText  value="#{messages.Relocating}" />
                                </div>
                            </div>
                        </p:panel>
                        <p:panel styleClass="noPadding noMargin" rendered="#{collectorRelocatingInfoAnd.country!=null}">
                            <div class="lightBlueBackground">
                                <div class="internalLeftColumnSearchFilter colorWhite inlineBlock verticalAlignTop">
                                    <h:outputText  value="#{messages.CountryText}"  />
                                </div>
                                <div class=" internalRightColumnSearchFilter inlineBlock verticalAlignTop">
                                    <h:outputText  value="#{countryBundle[collectorRelocatingInfoAnd.country.idCountry.toString()]}" />
                                </div>
                            </div>
                        </p:panel>
                        <p:panel styleClass="noBorder noPadding noMargin" rendered="#{collectorRelocatingInfoAnd.province!=null}">
                            <div class="lightBlueBackground">
                                <div class="internalLeftColumnSearchFilter colorWhite inlineBlock verticalAlignTop">
                                    <h:outputText value="#{messages.ProvinceText}" />
                                </div>
                                <div class=" internalRightColumnSearchFilter inlineBlock verticalAlignTop">
                                    <h:outputText value="#{collectorRelocatingInfoAnd.province.description}"  />
                                </div>
                            </div>
                        </p:panel>
                        <div class="lightBlueBackground">
                            <div class="internalLeftColumnSearchFilter colorWhite inlineBlock verticalAlignTop">
                                <h:outputText value="#{messages.Importance}" />
                            </div>
                            <div class=" internalRightColumnSearchFilter inlineBlock verticalAlignTop">
                                <h:outputText value="#{messages.Obligatory}"/>
                                <p:commandButton styleClass="grayBackgroundStrong deleteCategoryButton" value="#{messages.Remove}" actionListener="#{cc.attrs.bean.removeFromRelocatingAndList(collectorRelocatingInfoAnd)}" oncomplete="reinitWaypoint();" update=":createSearchForm:searchPanel :facesPanel :totalFacesForm" process="@this">  
                                </p:commandButton> 
                            </div>
                        </div>
                    </div>
                </p:panel>
            </ui:repeat>
        </composite:implementation>
    </h:body>
</html>